package com.quick.scan.config;

import android.graphics.Color;

/**
 * 条码扫描配置信息
 */
public class ScanConfig {
	/** 扫描框是否为方形 */
	public static final boolean isSquare = false;
	/** 扫描框的宽度比例 */
	public static final float WIDTH_RADIO = 0.8f;
	/** 扫描框的高度比例 */
	public static final float HEIGHT_RADIO = 0.4f;
	/** 扫描框最小宽度 */
	public static final int MIN_FRAME_WIDTH = 360;
	/** 扫描框最大宽度 */
	public static final int MIN_FRAME_HEIGHT = 360;
	/** 扫描框最小高度 */
	public static final int MAX_FRAME_WIDTH = 720;
	/** 扫描框最大高度 */
	public static final int MAX_FRAME_HEIGHT = 720;

	/** 扫描框四个角的宽度 */
	public static final int CORNER_WIDTH = 5;
	/** 扫描框颜色 */
	public static final int CORNER_COLOR = Color.GREEN;
	/**
	 * 默认背景色 #60000000
	 */
	public static final int MASK_COLOR = Color.argb(96, 0, 0, 0);
	/**
	 * 
	 * #b0000000
	 * */
	public static final int RESULT_COLOR = Color.argb(176, 0, 0, 0);

	/**
	 *  小圆点的颜色
	 * c0ffff00
	 * */
	public static final int POSSIBLE_RESULT_POINTS = Color.argb(192, 255, 255,
			0);
}
